package com.yunpeng.aidevice.common.vo;

import java.io.Serializable;
import java.util.List;

/**
 * FunctionPermissionDTO 功能权限数据对象
 *
 * @author : Moore(hemw)
 * @date : 2020-04-10
 */
public class FunctionPermissionVO implements Serializable {

    /**
     * 功能路径
     */
    private String nodeLocation;

    /**
     * 功能名称
     */
    private String nodeName;

    /**
     * 功能节点代码
     */
    private String nodeCode;

    /**
     * 是否文件夹
     */
    private Boolean folder;

    /**
     * 子集
     */
    private List<FunctionPermissionVO> childNodes;

    public String getNodeLocation() {
        return nodeLocation;
    }

    public void setNodeLocation(String nodeLocation) {
        this.nodeLocation = nodeLocation;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public List<FunctionPermissionVO> getChildNodes() {
        return childNodes;
    }

    public void setChildNodes(List<FunctionPermissionVO> childNodes) {
        this.childNodes = childNodes;
    }

    public Boolean getFolder() {
        return folder;
    }

    public void setFolder(Boolean folder) {
        this.folder = folder;
    }

    public String getNodeCode() {
        return nodeCode;
    }

    public void setNodeCode(String nodeCode) {
        this.nodeCode = nodeCode;
    }

    @Override
    public String toString() {
        return "FunctionPermissionVO{" +
                "nodeLocation='" + nodeLocation + '\'' +
                ", nodeName='" + nodeName + '\'' +
                ", nodeCode='" + nodeCode + '\'' +
                ", folder=" + folder +
                ", childNodes=" + childNodes +
                '}';
    }
}
